package com.lyf.design.practice.theory.structure.adapter;

/**
 * @author LYF
 * @date 2022/6/22
 */
public class AmericaDevice extends AbstractDevice implements Device {
    public AmericaDevice(Integer electronic, String name) {
        super(electronic, name);
        super.setElectronic(110);
    }

    public AmericaDevice() {
        super();
        super.setElectronic(110);
    }

    @Override
    public void showInfo() {
        System.out.println(super.getName()+"::"+super.getElectronic());
    }
}
